package com.plt.w2w; 
import java.util.ArrayList;
import java.util.Scanner;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.Calendar;
public class TheProgram { 
ArrayList<Garment> _garments = new ArrayList<Garment>(); 
ArrayList<String> _wardrobeNames = new ArrayList<String>(); 
String _date;
SimpleDateFormat _sdf = new SimpleDateFormat("MM/dd/yyyy"); 
String _input;
BackEnd _backEnd = new BackEnd();
java.util.Date f; 
int w; 
java.util.Date d; 
java.util.Date e; 
String p; 

public void createWardrobeBackEnd() {
_garments.add(new Garment("skirt","","","black","","2"));
_garments.add(new Garment("top","","","blue","","2"));
_garments.add(new Garment("shirt","","","","","2"));

Wardrobe obj = new Wardrobe(); 
obj.create(_garments,"jasleen");
}
public void mainBackEnd()
{
_wardrobeNames.add("jasleen"); 
_wardrobeNames.add("afreen"); 
Scanner _s = new Scanner(System.in);
d= null; 

_input=_s.next();
_date = _input + "/2012"; 
try{ 
d = _sdf.parse(_date); 
 } catch (ParseException _e) { 
} 
if(!_sdf.format(d).equals(_date)){ 
 System.out.println("ERROR in date format!!!!"); 
 } 
 
p="22";

w = 22;
if(12==12){if(12==12){_date = "11/30/2012"; 
e= null; 
try{ 
e = _sdf.parse(_date); 
 } catch (ParseException _e) { 
} 

}else {
 _date = "12/04/2012"; 
f= null; 
try{ 
f = _sdf.parse(_date); 
 } catch (ParseException _e) { 
} 

}
}
System.out.println("hey");
System.out.println(e);
_backEnd.generateOutfit(d);}
public static void main(String args[]){
TheProgram obj = new TheProgram(); 
obj.createWardrobeBackEnd(); 
obj.mainBackEnd(); 
}
}